@@ -842,7 +842,7 @@ def member_activity_update(request):  | 
            ||
| 842 | 842 | 
                     subtitle = request.POST.get('subtitle', '')
               | 
            
| 843 | 843 | 
                     date = request.POST.get('date', '')
               | 
            
| 844 | 844 | 
                     city = request.POST.get('city', '')
               | 
            
| 845 | 
                -    location = request.POST.get('location', 0)
               | 
            |
| 845 | 
                +    location = request.POST.get('location', '')
               | 
            |
| 846 | 846 | 
                     integral = int(request.POST.get('integral', 0))
               | 
            
| 847 | 847 | 
                     cover_url = request.POST.get('cover_path', '')
               | 
            
| 848 | 848 | 
                     slider_image = request.POST.get('banner_path', '')
               | 
            
                @@ -897,7 +897,7 @@ def member_activity_create(request):  | 
            ||
| 897 | 897 | 
                     subtitle = request.POST.get('subtitle', '')
               | 
            
| 898 | 898 | 
                     date = request.POST.get('date', '')
               | 
            
| 899 | 899 | 
                     city = request.POST.get('city', '')
               | 
            
| 900 | 
                -    location = request.POST.get('location', 0)
               | 
            |
| 900 | 
                +    location = request.POST.get('location', '')
               | 
            |
| 901 | 901 | 
                     integral = int(request.POST.get('integral', 0))
               | 
            
| 902 | 902 | 
                     cover_url = request.POST.get('cover_path', '')
               | 
            
| 903 | 903 | 
                     slider_image = request.POST.get('banner_path', '')
               | 
            
                @@ -937,6 +937,7 @@ def member_activity_create(request):  | 
            ||
| 937 | 937 | 
                is_slider=is_slider,  | 
            
| 938 | 938 | 
                content_rich_text=content_rich_text,  | 
            
| 939 | 939 | 
                share_h5_link=share_h5_link,  | 
            
| 940 | 
                + activity_state=activity_state  | 
            |
| 940 | 941 | 
                )  | 
            
| 941 | 942 | 
                 | 
            
| 942 | 943 | 
                return response(200, 'MemberActivityInfo Create Success', u'会员活动创建成功')  | 
            
                @@ -404,11 +404,9 @@ class MemberActivityInfo(BaseModelMixin):  | 
            ||
| 404 | 404 | 
                'integral': self.integral,  | 
            
| 405 | 405 | 
                'content_rich_text': self.content_rich_text,  | 
            
| 406 | 406 | 
                'cover_url': self.cover_url,  | 
            
| 407 | 
                - 'cover_path': self.cover_path,  | 
            |
| 408 | 407 | 
                'share_img_link': self.share_img_link,  | 
            
| 409 | 408 | 
                'share_h5_link': self.share_h5_link,  | 
            
| 410 | 409 | 
                'slider_image': self.slider_image_url,  | 
            
| 411 | 
                - 'banner_path': self.slider_path,  | 
            |
| 412 | 410 | 
                'state': self.final_state,  | 
            
| 413 | 411 | 
                'is_signed': self.is_signed(user_id),  | 
            
| 414 | 412 | 
                'is_signup': self.is_signup,  | 
            
                @@ -464,6 +462,8 @@ class MemberActivityInfo(BaseModelMixin):  | 
            ||
| 464 | 462 | 
                'share_max_integral': self.group_share_max_integral,  | 
            
| 465 | 463 | 
                'activity_state': self.activity_state,  | 
            
| 466 | 464 | 
                'is_slider': self.is_slider,  | 
            
| 465 | 
                + 'banner_path': self.slider_image_path,  | 
            |
| 466 | 
                + 'cover_path': self.cover_path,  | 
            |
| 467 | 467 | 
                'created_at': tc.local_string(utc_dt=self.created_at, format='%Y-%m-%d %H:%M:%S'),  | 
            
| 468 | 468 | 
                }  | 
            
| 469 | 469 | 
                 |